アクティビティ
最新
バナーの背景画像
UI Automation のアクティビティ
最終更新日 2024年4月26日

GetSelectedItem

選択した項目を対象の UI 要素から取得します。

定義

名前空間: UiPath.MobileAutomation.API.Models

アセンブリ: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

オーバー ロード

オーバーロード説明
GetSelectedItem(IElementDescriptor, MobileOptions.GetSelectedItemOptions)IElementDescriptor として識別されたターゲット UI 要素から、選択した項目を取得します。
GetSelectedItem(ObjectRepositoryTarget, MobileOptions.GetSelectedItemOptions)ObjectRepositoryTarget として識別されたターゲット UI 要素から、選択した項目を取得します。
GetSelectedItem(SelectorTarget, MobileOptions.GetSelectedItemOptions)SelectorTarget として識別されたターゲット UI 要素から、選択した項目を取得します。

ElementExists(IElementDescriptor, MobileOptions.ElementExistsOptions)

IElementDescriptor として識別されたターゲット UI 要素から、選択した項目を取得します。
GetSelectedItem(
	    IElementDescriptor element,
	    MobileOptions. GetSelectedItemOptions options = null
)GetSelectedItem(
	    IElementDescriptor element,
	    MobileOptions. GetSelectedItemOptions options = null
)
element IElementDescriptor
ObjectRepository.Descriptors クラスを使用してアクセスするオブジェクト リポジトリの UI 要素です。

コード化されたオートメーションでオブジェクト リポジトリの要素を使用する方法については、「コード化されたオートメーションでオブジェクトを使用する」をご覧ください。

MobileOptions.GetSelectedItemOptions MobileOptions.GetSelectedItemOptions Class (任意)
GetSelectedItem アクションの MobileOptions.GetSelectedItemOptions を指定します。既定値は null です。

GetSelectedItem(ObjectRepositoryTarget, MobileOptions.GetSelectedItemOptions)

ObjectRepositoryTarget として識別されたターゲット UI 要素から、選択した項目を取得します。
GetSelectedItem(
	    ObjectRepositoryTarget objectRepositoryTarget,
	    MobileOptions. GetSelectedItemOptions options = null
)GetSelectedItem(
	    ObjectRepositoryTarget objectRepositoryTarget,
	    MobileOptions. GetSelectedItemOptions options = null
)
objectRepositoryTarget ObjectRepositoryTarget
ObjectRepositoryTarget 型のオブジェクトです。FromObjectRepository(String, String, String, String) または FromObjectRepository(String[] , String, String, String) メソッドを使用して構築できます。
MobileOptions.GetSelectedItemOptions MobileOptions.GetSelectedItemOptions Class (任意)
GetSelectedItem アクションの MobileOptions.GetSelectedItemOptions を指定します。既定値は null です。

GetSelectedItem(SelectorTarget, MobileOptions.GetSelectedItemOptions)

SelectorTarget として識別されたターゲット UI 要素から、選択した項目を取得します。
string GetSelectedItem(
	    SelectorTarget targetSelector,
	    MobileOptions. GetSelectedItemOptions options = null
)string GetSelectedItem(
	    SelectorTarget targetSelector,
	    MobileOptions. GetSelectedItemOptions options = null
)
targetSelector SelectorTarget
SelectorTarget 型のオブジェクトです。FromSelector(String) メソッドを使用して構築できます。
MobileOptions.GetSelectedItemOptions MobileOptions.GetSelectedItemOptions Class (任意)
GetSelectedItem アクションの MobileOptions.GetSelectedItemOptions を指定します。既定値は null です。

戻り値

選択した項目です。文字列に格納されます。

Was this page helpful?

サポートを受ける
RPA について学ぶ - オートメーション コース
UiPath コミュニティ フォーラム
UiPath ロゴ (白)
信頼とセキュリティ
© 2005-2024 UiPath. All rights reserved.